@if(isset($user))
    <div class="Ta_top"><a href="{{url('userCenter')}}/user={{$user_id}}">个人中心</a> / {{$top}}</div>
    <ul class="Ta_ul">
        @foreach($user as $u)
            <li>
                <a class="Ta_a1" href="{{url('userCenter')}}/user={{$u->another->id}}"><img
                            src="{{asset($u->another->profile->avatar)}}"></a>
                <a class="Ta_a2" href="{{url('userCenter')}}/user={{$u->another->id}}">{{$u->another->username}}</a>
                <p>{{$u->created_at->diffForHumans()}}</p>
            </li>
        @endforeach
    </ul>
@elseif(isset($vote))
    <div class="Ta_top"><a href="{{url('userCenter')}}/user={{$user_id}}">个人中心</a> / {{$top}}</div>
    <div class="le_foot Ta_le_foot">
        <ul>
        @foreach($vote as $p)
            <li>
                <a href="{{url('topic')}}/topics={{$p->topic['id']}}" class="a1">{{$p->topic->title}}</a>
                @foreach($p->topic->tags as $g)
                    <span class="e">{{$g->tag_name}}</span>
                @endforeach
                <span>{{count($p->topic->vote)}}赞 · </span>
                <span>{{count($p->topic->replies)}}回复</span>
                <span>{{$p['created_at']->diffForHumans()}}</span>
            </li>
        @endforeach
        </ul>
    </div>
    @elseif(isset($reply))
    <div class="Ta_top"><a href="{{url('userCenter')}}/user={{$user_id}}">个人中心</a> / {{$top}}</div>
        <ul class="Ta_reply_div">
    @foreach($reply as $p)
        <li class="reply_li">
            <a href="{{url('topic')}}/topics={{$p->topic['id']}}" class=" a2">{{$p->topic->title}}</a><span> at {{$p['created_at']->diffForHumans()}}</span><br/>
            <p class="reply_i">@if(!empty($p->answer_id))<a href="{{url('userCenter')}}/user={{$p->answer_id}}" class="blue_reply reply_s">@ {{$p->answer->username}}:</a></span>@endif{{$p->content}}</p>
        </li>
    @endforeach
        </ul>
    @elseif(isset($topic))
    <div class="Ta_top"><a href="{{url('userCenter')}}/user={{$user_id}}">个人中心</a> / {{$top}}</div>
    <div class="le_foot Ta_le_foot">
        <ul>
            @foreach($topic as $p)
                <li>
                    <a href="{{url('topic')}}/topics={{$p->id}}" class="a1">{{$p->title}}</a>
                    @foreach($p->tags as $g)
                        <span class="e">{{$g->tag_name}}</span>
                    @endforeach
                    <span>{{count($p->vote)}}赞 · </span>
                    <span>{{count($p->replies)}}回复</span>
                    <span>{{$p['created_at']->diffForHumans()}}</span>
                </li>
            @endforeach
        </ul>
    </div>
    @elseif(isset($follower))
        <div class="Ta_top"><a href="{{url('userCenter')}}/user={{$user_id}}">个人中心</a> / {{$top}}</div>
        <ul class="Ta_ul">
            @foreach($follower as $u)
                <li>
                    <a class="Ta_a1" href="{{url('userCenter')}}/user={{$u->follower->id}}"><img
                                src="{{asset($u->follower->profile->avatar)}}"></a>
                    <a class="Ta_a2" href="{{url('userCenter')}}/user={{$u->follower->id}}">{{$u->follower->username}}</a>
                    <p>{{$u->created_at->diffForHumans()}}</p>
                </li>
            @endforeach
        </ul>
@endif